package com.gettec.lims.client.menu;

import com.extjs.gxt.ui.client.widget.menu.MenuItem;
import com.gettec.lims.client.control.EventController;



public class MenuItemEx extends MenuItem {

	private final String hash;
	private final String name;
	

	public MenuItemEx(String mcode, String name) {
		super(name);
		this.name = name;
		hash = Integer.toString(mcode.hashCode()) +"_"+ Integer.toString(name.hashCode());
	}  
	public MenuItemEx(String name) {
		super(name);
		this.name = name;
		hash = Integer.toString(name.hashCode());
	}  

	public String getName() { 
		return name;
	}     

	public void showWindow() {
			//EventController.showWindow(hash);
	}
}
